
let urlParams = new URLSearchParams(window.location.search);
let position = urlParams.get('position');
if (position) {
    position = decodeURIComponent(position);
    position = position.replace(/"/g, '');
}
console.log(position);  